<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <?php echo $this->Html->charset(); ?>
    <title>
        <?php echo $title_for_layout; ?>
    </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <?php
    echo $this->Html->meta('icon');

   /* echo $this->Html->css('bootstrap');
    echo $this->Html->css('bootstrap-responsive');
    echo $this->Html->css('custom');
    echo $this->Html->css('bank/styles');

    echo $this->Html->script('jquery-1.7.2.min.js');
    echo $this->Html->script('bootstrap/bootstrap.min.js');
    echo $this->Html->script('jLib.js');*/

    echo $this->Html->css('bootstrap');
    echo $this->Html->css('bootstrap-responsive');
    echo $this->Html->css('jquery.nanoscroller');
    echo $this->Html->css('flexgrid/flexigrid');
    echo $this->Html->css('custom');
    if($this->params['action'] == 'index'){
        echo $this->Html->css('bank/styles');
    }
    else{
        echo $this->Html->css('student/styles');
    }

    echo $this->Html->script('jquery-1.7.2.min.js');
    echo $this->Html->script('maskinput.js');
    echo $this->Html->script('bootstrap/bootstrap.min.js');
    echo $this->Html->script('jquery.nanoscroller.min');
    echo $this->Html->script('flexigrid.js');
    echo $this->Html->script('jLib.js');

    echo $scripts_for_layout;
    ?>
</head>
<body>
<div class="container-fluid">
    <?php echo $this->element('loader'); ?>
    <div class="row-fluid">
        <?php echo $this->Session->flash(); ?>
        <?php echo $this->element('bank/header_nav'); ?>
    </div>
    <div class="row-fluid">
        <?php
        /*if($this->params['action'] != 'index'){
            $auth_user = $this->Session->read('loginData');
            $user_level = $auth_user['user_level'];
            if($user_level != 'Normal'){
        */?>
            <!--<div id="left_nav" class="span4">
                <div id="nav_group" class="inner_shadow">
                    <?php
/*                    if($user_level == 'Admin'){
                        echo $this->element('bank/nav_admin');
                    }
                    elseif($user_level == 'Supervisor'){
                        echo $this->element('bank/nav_branch_sup');
                    }
                    */?>
                </div>
            </div>-->
        <?php
           // }
       // }
        ?>
        <?php echo $this->fetch('content'); ?>
    </div>
    <!--/row-->
    <div class="row-fluid">
        <?php echo $this->element('footer'); ?>
    </div>
    <!--/row-->
</div>
<?php //echo $this->element('sql_dump'); ?>
</body>
</html>